RankMath\Schema\JsonLD D

Total Complexity 128
Dependencies 11
Dependents 6
Total lines 713
Lines of code 358
Logical lines of code 196
Comment lines 255
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
validate_schema()
A
53 10 22
replace_variables()
A
52 9 23
add_context_data()
A
52 9 22
json_ld()
S
52 7 22
can_add_global_entities()
S
57 7 14
filter()
S
55 6 18
generate_preview()
S
51 5 26
get_parts()
S
54 5 18
add_prop()
S
56 5 17
get_product_desc()
S
62 5 11
add_ratings()
S
54 4 20
replace_author()
S
64 5 9
set_publisher()
S
60 4 12
add_prop_image()
S
57 3 18
can_add_author_entity()
S
70 4 6
set_address()
S
62 4 10
is_product_page()
S
76 4 3
get_post_title()
S
65 4 8
add_prop_url()
S
71 3 5
get_product_title()
S
66 3 9
get_post_url()
S
73 3 4
can_add_breadcrumb()
S
77 3 3
add_prop_publisher()
S
70 2 6
add_prop_address()
S
72 2 5
get_website_name()
S
75 2 4
add_prop_thumbnail()
S
72 2 5
set_data()
S
72 2 5
add_prop_is_part_of()
S
64 2 9
setup()
S
68 1 7
add_schema()
S
72 1 5
get_old_schema()
S
65 1 9
add_prop_language()
S
78 1 3